home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / System / Infinity Windoid 2.5.1 / About Infinity Windoid next >
Encoding:
Text File  |  1994-01-16  |  4.6 KB  |  81 lines  |  [ttro/ttxt]

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10. INFINITY WINDOID 2.5.1
  11.  
  12. Written by Troy Gaul
  13. © 1991-94 Infinity Systems
  14. All rights reserved.
  15.  
  16.  
  17. DESCRIPTION:
  18. This archive contains the source for a standalone code resource that conforms to a Window DEFinition (WDEF), as defined by Apple Computer in Inside Macintosh.
  19.         
  20. It provides a 'windoid' appearance. A windoid is a floating window that appears above document windows in an application and is commonly used for things like tool palettes, information windows, and the like.
  21.  
  22. The versions of the Windoid WDEF included in the ResEdit files can be used as-is. This WDEF is created for System 6 and later, but it would be easy to modify it for earlier systems if this is important.
  23.  
  24. There are compiler flags available in the code to support the ways in which the THINK languages and MacApp handle their own windoid WDEFs. (These are also included in the Other Styles folder in this archive, so you can just copy them to use in place of the original. Note that the MacApp Style Windoid does not support ALL of the possible variations, but it supports the most common ones (is supports everything except the "large" titlebar with title, and the grow box options).
  25.  
  26. I would like to see this WDEF be used as widely as possible, as I have seen many programs recently that use the old-style black-and-white version. The WDEF should be fairly compatible with the ones included with THINK Pascal and MacApp among others, so it should require a minimum of work to use. Also, I plan to support and upgrade this WDEF as needed, while maintaining its freeware status and including the source code (so it can be modified). I only request any modification of this WDEF be true to its form in terms of graphical design, and that you inform me of any changes (possibly providing source code if you think it might be useful to other Infinity Windoid users).
  27.  
  28.  
  29. FEATURES:
  30. •  Supports System 7-style coloring of windows.
  31. •  In System 7, the tinge color set by the user in the Color control panel is used.
  32. •  Close box can be enabled from NewWindow by setting goAwayFlag.
  33. •  Zoom box implemented, utilized by adding zoomDocProc to the proc ID used to create the windoid.
  34. •  Title bar can appear along the left of the window if 2 is added to the proc ID (with or without a zoom box).
  35. •  For MacApp users, the behavior of the windoid can be switched.
  36. •  System 6 coloring scheme is also supported (can be set in Kolor or a similar control panel).
  37. •  DeviceLoop is used so the windoid will be drawn correctly even when it crosses monitors of differing depths (there's also a mechanism used that accomplishes the same thing with System 6).
  38. •  In System 7, indexed monitors' color tables are checked to see if there are enough different colors to display the color version (like the system WDEF).
  39. •    Optionally supports title string in the titlebar.
  40. •    Optionally supports a grow box.
  41. •    Provides a choice between two styles of the titlebar.
  42.     
  43.  
  44. CHANGES IN VERSION 2.3
  45. •  Bug fixes for a couple things.
  46. •  More robust handling of drawing environment.
  47. •  Option for full THINK Windoid WDEF compatibility.
  48. •  Improved methods for handling the zoom box.
  49. •  More conformant to _Inside Macintosh: Toolbox Essentials_
  50.  
  51.  
  52. CHANGES IN VERSION 2.5
  53. •  Includes optional support for grow box.
  54. •  Includes optional support for showing the title of the windoid in the titlebar.
  55. •  Adds a second style that has tinges along the sides of the titlebar.
  56. •  Better organization of code.
  57. •  Corrects a bug which caused 2.3 (but not 2.2) to crash on computers with a 68000 processor.
  58. •  Corrects a problem that could be caused if a windoid used a custom Window Color Table.
  59.  
  60. CHANGES IN VERSION 2.5.1
  61. •  Corrects a bug where a grow box was not being drawn in a color window
  62. •  Corrects a problem that might appear when compiled with THINK C
  63.  
  64. For a full history of changes made in different versions, see the enclosed file "Version History" in the Documentation folder.
  65.  
  66.  
  67. LEGAL STUFF:
  68. Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appears in all copies (of the source). This software is provided "as is" without express or implied warranty.
  69.  
  70.  
  71. HOW TO CONTACT THE AUTHOR:
  72. To 'register' your copy of this WDEF if you plan to use it and want updates in the future, send me your e-mail address(es). Also, use these addresses to contact me with any problems or suggestions.
  73.  
  74. Troy Gaul
  75. Infinity Systems
  76.  
  77. Internet:              t-gaul@i-link.com (preferred)
  78. America Online:   ntwing
  79. FAX:                     (515) 255-2524
  80. U.S. Mail:              5090 E.P. True Parkway, Apt. 108
  81.                             West Des Moines, Iowa 50265